<string>Cloning SDSourceVolume.Name to SDTargetVolume.Name</string>
<key>parseMethod</key>
<string>SVUclone:</string>
</dict>
</array>
</dict>
</array>
</dict>
<dict>
<key>Phase</key>
<string>Conclude Target Setup</string>
<key>ActionList</key>
<array>
<dict>
<key>Action</key>
<string></string>
<key>infoMsg</key>
<string>Bless System on SDTargetVolume.Name</string>
<key>CommandList</key>
<array>
<dict>
<key>command</key>
<string>if [ -a SDTargetVolumeMount.'Path/System/Library/CoreServices ]; then UCHGSET=$(ls -lo SDTargetVolumeMount.'Path/System/Library/CoreServices/BootX | grep -vqF uchg; echo $?); chflags nouchg SDTargetVolumeMount.'Path/System/Library/CoreServices/BootX; bless -folder SDTargetVolumeMount.'Path/System/Library/CoreServices -bootinfo SDTargetVolumeMount.'Path/usr/standalone/ppc/bootx.bootinfo -save9; if [ $UCHGSET -eq 1 ]; then chflags uchg SDTargetVolumeMount.'Path/System/Library/CoreServices/BootX; fi; echo "Successfully blessed Mac OS X folder on" SDTargetVolume.'Name; else echo "Did not bless Mac OS X System Folder on" SDTargetVolume.'Name " because it does not exist."; fi</string>
<key>infoMsg</key>
<string>Blessing OS X System Folder</string>
</dict>
<dict>
<key>command</key>
<string>if [ -a SDTargetVolumeMount.'Path/System\ Folder ]; then bless -folder9 SDTargetVolumeMount.'Path/System\ Folder -saveX; echo "Successfully blessed Mac OS 9 System Folder on " SDTargetVolume.'Name; else echo "Did not bless Mac OS 9 System Folder on " SDTargetVolume.'Name " because it does not exist."; fi</string>
<key>infoMsg</key>
<string>Blessing OS 9 System Folder</string>
</dict>
</array>
</dict>
<dict>
<key>Action</key>
<string>shouldCreateASRimage</string>
<key>infoMsg</key>
<string>Creating ASR Image of SDTargetVolume.Name</string>
<key>CommandList</key>
<array>
<dict>
<key>command</key>
<string>disktool -p `basename SDTargetVolume.Device` | grep -q -F "Disk NOT Unmounted" ; if [ "$?" == "0" ]; then echo "Could not unmount volume " SDTargetVolume.'Name; echo "Checking for open files on SDTargetVolume.Device..."; lsof | head -n 1; lsof | grep -q -F SDTargetVolume.Device; echo "Could not unmount " SDTargetVolume.'Name >&2; exit 2; else disktool -m `basename SDTargetVolume.Device`; disktool -r; fi</string>
<key>infoMsg</key>
<string>Checking to see if volume SDTargetVolume.Name can be unmounted safely</string>
<string>Invoking site customization script: _SDSiteCustomizationScript.Path</string>
</dict>
</array>
</dict>
<dict>
<key>Action</key>
<string>shouldRebootFromTarget</string>
<key>infoMsg</key>
<string>Reboot from SDTargetVolume.Name</string>
<key>CommandList</key>
<array>
<dict>
<key>command</key>
<string>if [ -a SDTargetVolumeMount.'Path/System/Library/CoreServices ]; then UCHGSET=$(ls -lo SDTargetVolumeMount.'Path/System/Library/CoreServices/BootX | grep -vqF uchg; echo $?); chflags nouchg SDTargetVolumeMount.'Path/System/Library/CoreServices/BootX; bless -folder SDTargetVolumeMount.'Path/System/Library/CoreServices -bootinfo SDTargetVolumeMount.'Path/usr/standalone/ppc/bootx.bootinfo -save9 -setOF; if [ $UCHGSET -eq 1 ]; then chflags uchg SDTargetVolumeMount.'Path/System/Library/CoreServices/BootX; fi; echo "Successfully set" SDTargetVolume.'Name "as startup disk"; else echo "Could not set" SDTargetVolume.'Name " as the startup disk because it does not contain a valid Mac OS X System Folder."; exit 1; fi</string>
<key>infoMsg</key>
<string>Setting startup disk to SDTargetVolume.Name</string>
</dict>
<dict>
<key>command</key>
<string>osascript -e 'Tell application "System Events" to restart' &</string>